//
//  OtherAlertView.m
//  PlayCatchGame
//
//  Created by 流言 on 2018/3/5.
//  Copyright © 2018年 清正. All rights reserved.
//

#import "OtherAlertView.h"

@interface OtherAlertView()

@property (nonatomic, copy)ButtonBlock btnBlock;

@end

@implementation OtherAlertView


- (void)awakeFromNib {
    [super awakeFromNib];
}


- (IBAction)buttonClick:(UIButton *)sender {
    if (self.btnBlock) {
        self.btnBlock(sender);
    }
}

- (void)didButtonClickBlock:(ButtonBlock)newBlock {
    self.btnBlock =newBlock;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
